module.exports = {
  configureWebpack: {
    module: {
      rules: [
        {
          test: /\.mjs$/,
          include: /node_modules/,
          type: 'javascript/auto'
        }
      ]
    }
  },
  devServer: {
    proxy: {
      '/product': {
        target: 'http://localhost:8081',
        changeOrigin: true
      }
    }
  }
}
